import {Http} from "../utils/http";


class User{

    static async updateUserInfo(data) {
        return Http.request({
            url:`user/wx_info`,
            data,
            method:'POST'
        })
    }

    static async registerUserInfo(data) {
        return Http.request({
            url:`user/register_info`,
            data,
            method:'POST'
        })
    }

    static async getUserInfo(data){
        return Http.request({
            url:`user/info`,
            data,
            method: 'GET'
        })
    }
}

export {
    User
}